<template>
  <div id="app">
    <keep-alive v-if="$route.meta.keepAlive">
      <router-view></router-view>
    </keep-alive>
    <router-view v-else></router-view>
  </div>
</template>

<script>
export default {
  name: 'app'
}
</script>

<style>
* {
  touch-action: pan-y;
}

html {
  height: 100%;
  background: #fff;
  -webkit-text-size-adjust: none;
}

.not-scroll {
  overflow: hidden;
}

body {
  height: 100%;
  position: relative;
  min-height: 100%;
  max-width: 8rem;
  margin: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

.mint-loadmore-bottom {
  font-size: 0.3rem;
}

body.condition-dialog-open {
  position: fixed;
  width: 100%;
}

* {
  /*-webkit-touch-callout:none;*/
  /*-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;*/
}

*:focus {
  outline: none;
}

li {
  list-style-type: none;
}

input {
  border: none;
}

#app {
  font-family: 'Microsoft YaHei', 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  position: relative;
  font-size: 0.24rem;
  /*text-align: center;*/
  /*color: #2c3e50;*/
  /*margin-top: 60px;*/
}

em {
  font-style: normal;
}

.icon {
  /* 通过设置 font-size 来改变图标大小 */
  width: 1em;
  height: 1em;
  /* 图标和文字相邻时，垂直对齐 */
  vertical-align: -0.15em;
  /* 通过设置 color 来改变 SVG 的颜色/fill */
  fill: currentColor;
  /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
     normalize.css 中也包含这行 */
  overflow: hidden;
}
</style>
